package com.zxk.api.service.impl;

import com.zxk.api.dao.UserInfoDao;
import com.zxk.api.service.UserService;
import com.zxk.core.common.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserInfoDao userInfoDao;
    @Override
    public List<UserInfo> queryUserInfo(String name) {
        return userInfoDao.queryUserInfo(name);
    }
}
